package com.kevin.data.batch.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

@Getter
@Setter
@ToString
@Accessors(chain = true)
public class Log implements Serializable {

    @Serial
    private static final long serialVersionUID = -4952093792805440662L;

    // 编号
    private String id;

    // 描述
    private String description;

    // 方法
    private String method;

    // 地址
    @JsonProperty("remote_addr")
    private String remoteAddr;

    // 代理
    @JsonProperty("user_agent")
    private String userAgent;

    // 客户端
    @JsonProperty("client_id")
    private String clientId;

}
